﻿1857.1.1 = {
	capital = 37

	oob = "DEN_1857"
	set_naval_oob = "DEN_1857_naval_mtg"

	set_convoys = 30

	set_research_slots = 3
	
	add_to_variable = { prestige_score = 5 }

	### Economy
    add_ideas = generic_unemployment_idea
    set_variable = { unemployment_value_modifier = 0.1 }
    set_variable = { current_unemployment = 0.05 }
    clamp_variable = {
        var = current_unemployment
        min = 0
        max = 1
    }
    update_unemployment_modifier = yes
    add_to_variable = { money = 4 }
	set_variable = { current_loans_sum = 18 }
	
	add_ideas = {
		#POLITICAL LIBERTIES
		compulsory_education
		free_press
		foa_non_socialist
		pp_ban_extremist_parties
		tu_non_political
		limited_elections

		#INDIVIDUAL LIBERTIES
		border_control
		limited_equality
		parliamentary_suffrage
		early_conscription
		state_religion
		high_judge_courtroom
		
		#ECONOMIC POLICY
		mixed_economy
		limited_exports
		taxation_level_3
		civilian_economy
		cl_restricted
		agrarian
		
		#INTERNAL BUDGET
		social_spending_level_2
		law_spending_level_2
		road_spending_level_1
		navy_spending_level_3
		army_spending_level_2
		research_spending_level_1

		#NATIONAL SPIRITS
		DEN_Frederick_VII
		victorian_era
		doctrine_victorian_army_1
		DEN_idea_london_protocol
		DEN_idea_victors_of_first_schleswig_war
		#HLS_idea_profits_from_altona_1
		#DEN_idea_hamburg_trade_influence_1
		DEN_idea_guilds_presence
		DEN_idea_icelandic_independence_movement_1
		DEN_idea_danish_colonies_3
		NA_B_early_scale_railways
	}
	
	# Diplo
	
	# Rival
	set_variable = { var = rival_country value = SWE.id }
	# Most Favoured Nation
	set_variable = { var = most_favoured_country value = NOR.id }

	#set_variable = {
	#	var = DEN_hamburg_trade_influence
	#	value = 8
	#}

	set_politics = {
		ruling_party = centrism
	}

	set_popularities = {
		anarchism = 0
		ideology_social_liberalism = 35
		ideology_radical_socialism = 0
		social_egalitarianism = 5
		centrism = 30
		traditional_conservatism = 25
		radical_democracy = 0
		chauvinist_populism = 0
		autocracy = 5
		fundamentalism = 0
	}

	set_technology = {
		###Tribal
		tribal_carrier_birds = 1
		tribal_electrical_theory = 1
		tribal_steel_tools = 1
		tribal_tatics = 1
		tribal_gunpowder = 1
		tribal_riding = 1
		tribal_steam_experiments = 1
		tribal_forging = 1
		tribal_artisan = 1
		tribal_chemistry = 1
		tribal_guilds_trade = 1
		tribal_crop_planting = 1
		tribal_irrigation = 1
		tribal_crop_rotation = 1
		tribal_salted_smoked_goods = 1
		tribal_leching = 1
		start_build_tech = 1
		
		###Army
		#Weapons & Equipment
		traditional_mixed_arms = 1 #Pike and Shot
		infantry_weapons = 1 #Flintelåsgevær M/1807
		tech_infantry_flintlock_pistol = 1 #Flintlock Pistols
		  #M/1848 Tapriffel
		tech_infantry_practical_rifling = 1 #Practical Rifling
		tech_infantry_infantry_swords = 1 #Infantry Swords
		socket_bayonet = 1 #Socket Bayonet
		#Uniforms
		tech_infantry_napoleonic_uniform = 1 #Napoleonic Uniform
		vic_army_cloth = 1 #Victorian Uniform
		civil_army_cloth = 1 #1850 Uniform
		#Cavalry
		basic_cavalry = 1 #Horse and Tack
		horse_transport = 1 #Transport Horses
		horse_artillery = 1 #Horse Limber
		mounted_infantry = 1 #Mounted Infantry
		
		###Army Support
		tech_support = 1 #Victorian Support Equipment
		
		###Military Vehicles
		basic_train = 1 #Simple Steam Train
		
		###Artillery
		gw_artillery = 1 #Bore Gun
		
		###Flight Technology
		
		###Mechanical Engineering
		#Railroad
		mass_transit_early = 1	#Early Mass Transit
		tech_humanities_roadworks = 1 #Roadworks
		iron_railways = 1 #Wrought Iron Railways
		#Locomotives
		steam_locomotive = 1 #Steam Locomotive I
		#Engines
		steam_engine = 1 #Atmospheric Steam Engine
		high_speed_steam_engine = 1 #High-Pressure Steam Engine
		#Industrial Production
		manufactories = 1 #Manufactories
		
		###Process Engineering
		#Chemical Process
		inorganic_chemistry = 1 #Inorganic Chemistry
		hot_blast_furnaces = 1 #Hot Blast Furnace
		
		###Biochemistry
		#Chemical Synthesis
		wohler_synthesis = 1 #Wohler Synthesis
		polymer_chemistry = 1 #Polymer Chemistry
		#Food Preservation
		early_medicine = 1 #Early Medicine
		food_preserving_icebox = 1 #Icebox Preservation
		#Agriculture
		early_artificial_fertilizer = 1 #Early Artificial Fertilizer
		pre_industrial_farms = 1 #Pre-Industrial Farms
		
		###Electronics and Instruments
		#Alternating Current
		early_alternators = 1 #Early Alternators
		#Direct Current Battery
		woolrich_electrical_generator = 1 #Woolrich Electrical Generator
		voltas_battery = 1 #Volta's Battery
		#Telegraph
		electrical_engineering = 1 #Electrical Engineering

		###Socio-Economics & Humanities
		tech_humanities_mercantilism = 1 #Mercantilism
		tech_humanities_capitalism = 1 #Capitalism
		tech_humanities_social_stratification = 1 #Social Stratification
		
		###Aviation
		mongolfiere = 1 #Mongolfiere
		ornithopter = 1 #Ornithopter
		screw_propeller = 1 #Screw Propeller
		
		###Special Projects

		tech_naval_early_gunboat = 1
		tech_naval_1850_gunboat = 1
		tech_naval_corvette = 1
		tech_naval_mtg_1857_corvette_hull = 1
		tech_naval_early_frigate = 1
		tech_naval_1850_frigate = 1
		tech_naval_lineship = 1
		tech_naval_1857_lineship = 1
		tech_naval_mtg_hardwood_capital_ship_hulls = 1
		tech_naval_mtg_24_pounder_battery = 1
		tech_naval_mtg_32_pounder_battery = 1
		tech_naval_mtg_explosive_shells = 1
		tech_naval_mtg_sails = 1
		tech_naval_mtg_paddle_wheels = 1
		tech_naval_mtg_steam_driven_single_screw_propeller = 1
		tech_naval_mtg_crows_nest = 1
		tech_naval_mtg_repair_crews = 1
		tech_naval_capital_ship_naval_transportation = 1
	}

	set_grand_doctrine = grand_doctrine_napoleonic_era
	set_sub_doctrine = napoleonic_light_cavalry_doctrine
	add_mastery = {
		amount = 100
		sub_doctrine = napoleonic_light_cavalry_doctrine
	}
	set_sub_doctrine = napoleonic_conservative_doctrine
	set_sub_doctrine = napoleonic_heavy_artillery_doctrine
	
	add_equipment_to_stockpile = { type = infantry_equipment_rifle_0 amount = 400 producer = DEN }
	add_equipment_to_stockpile = { type = uniform_equipment_1 amount = 400 producer = DEN }
	add_equipment_to_stockpile = { type = support_equipment_1 amount = 8 producer = DEN }
	add_equipment_to_stockpile = { type = cavalry_equipment_0 amount = 100 producer = DEN }
	add_equipment_to_stockpile = { type = cannon_equipment_0 amount = 8 producer = DEN }

	 #Denmarks's National Debt amounted to 125m Thaler (roughly 4.17m pounds of Silver; 375m Mark as of 1871/73 exchange rate = 18.36m Pound Sterling as of 1871) at the end of 1857; income per year 14.18m Thaler (= 2.08m Pound Sterling) = 8.83 GDP of debt


	### POLITICAL LEADERS ###

	#ConLib
	recruit_character = DEN_carl_christoffer_georg_andrae
	
	#SocLib
	#DEN_jens_andersen_hansen (see advisors)

	#TradCon
	#DEN_christian_albrecht_bluhme (see advisors)
	
	#SocEgal + RadSoc + Anarchism
	#DEN_louis_pio (see advisors)
	
	#Peripheral
	recruit_character = DEN_landstinget

	#Autocracy
	recruit_character = DEN_frederick_vii
	
	#Fundamentalism
	recruit_character = DEN_hans_lassen_martensen
	
	#Politicians for later
	recruit_character = DEN_carl_christian_hall
	recruit_character = DEN_carl_eduard_rotwitt
	recruit_character = DEN_christen_andreas_fonnesbech
	recruit_character = DEN_christian_emil_frijs
	recruit_character = DEN_christian_ix
	recruit_character = DEN_christian_x
	recruit_character = DEN_ditlev_gothard_monrad
	recruit_character = DEN_frederick_viii
	recruit_character = DEN_interim_government
	recruit_character = DEN_povl_geleff
	
	### FIELD MARSHALS, GENERALS & ADMIRALS ###
	
	#Generals
	recruit_character = DEN_hans_nicolai_thestrup
	recruit_character = DEN_christian_de_meza
	recruit_character = DEN_matthias_von_luttichau
	recruit_character = DEN_niels_christian_lunding
	recruit_character = DEN_cai_hegermann_lindencrone
	#Generals for later
	recruit_character = DEN_carl_lundbye
	recruit_character = DEN_georg_von_gerlach
	recruit_character = DEN_glode_du_plat
	recruit_character = DEN_peter_frederik_steinmann
	recruit_character = DEN_christian_emilius_reich
	recruit_character = DEN_stephan_ankjaer
	
	#Admirals
	recruit_character = DEN_steen_andersen_bille
	recruit_character = DEN_ove_wilhelm_michelsen
	recruit_character = DEN_carl_irminger
	recruit_character = DEN_carl_van_dockum
	#Admirals for later
	recruit_character = DEN_edouard_suenson
	recruit_character = DEN_otto_hans_lutken
	recruit_character = DEN_hans_herman_grove
	recruit_character = DEN_otto_christian_hammer
	
	### ADVISORS & THEORISTS ###
	
	#Political Advisors
	recruit_character = DEN_adam_wilhelm_moltke
	recruit_character = DEN_andreas_frederik_krieger
	recruit_character = DEN_anker_heegaard
	recruit_character = DEN_anton_frederik_tscherning
	recruit_character = DEN_carl_frederik_tietgen
	recruit_character = DEN_christian_albrecht_bluhme
	recruit_character = DEN_ferdinand_meldahl
	recruit_character = DEN_jacob_christian_jacobsen
	recruit_character = DEN_jens_andersen_hansen
	recruit_character = DEN_johan_fridolin_hassel
	recruit_character = DEN_johan_nicolai_madvig
	recruit_character = DEN_louis_pio
	recruit_character = DEN_ludvig_ferdinand_holmberg
	recruit_character = DEN_orla_lehmann
	recruit_character = DEN_soren_hjorth
	
	#Theorists
	#Thestrup and Bille
	
	create_equipment_variant = {
		name = "Brigg Class"
		type = ship_hull_corvette_0
		name_group = DEN_CO_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_cannon_battery_0
			fixed_ship_fire_control_system_slot = fire_control_system_0
			fixed_ship_engine_slot = ship_engine_sail_1
			fixed_ship_armor_slot = empty
			mid_1_custom_slot = empty
			front_1_custom_slot = empty
		}
		obsolete = yes
	}

	create_equipment_variant = {
		name = "Corvette Class"
		type = ship_hull_corvette_0
		name_group = DEN_CO_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_cannon_battery_0
			fixed_ship_fire_control_system_slot = fire_control_system_0
			fixed_ship_engine_slot = ship_engine_sail_2
			fixed_ship_armor_slot = empty
			mid_1_custom_slot = ship_cannon_battery_0
			front_1_custom_slot = empty
		}
		obsolete = yes
	}

	create_equipment_variant = {
		name = "Paddle Steamer Class"
		type = ship_hull_corvette_1
		name_group = DEN_CO_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_cannon_battery_0
			fixed_ship_fire_control_system_slot = fire_control_system_0
			fixed_ship_engine_slot = ship_engine_paddle_screen
			fixed_ship_armor_slot = empty
			mid_1_custom_slot = empty
			front_1_custom_slot = empty
		}
		obsolete = yes
	}
	
	create_equipment_variant = {
		name = "Screw Corvette Class"
		type = ship_hull_corvette_1
		name_group = DEN_CO_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_cannon_battery_1
			fixed_ship_fire_control_system_slot = fire_control_system_0
			fixed_ship_engine_slot = ship_engine_steam_screw_screen
			fixed_ship_armor_slot = ship_armor_screen_hardwood_0
			mid_1_custom_slot = empty
			front_1_custom_slot = empty
		}
		
	}

	create_equipment_variant = {
		name = "Gunboat Class"
		type = ship_hull_gunboat_0
		name_group = DEN_GB_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_cannon_battery_0
			fixed_ship_fire_control_system_slot = fire_control_system_0
			fixed_ship_engine_slot = ship_engine_sail_2
			fixed_ship_secondaries_slot = empty
			fixed_ship_armor_slot = empty
			mid_1_custom_slot = empty
			mid_2_custom_slot = empty
			rear_1_custom_slot = empty
		}
		obsolete = yes
	}

	create_equipment_variant = {
		name = "Paddle Gunboat Class"
		type = ship_hull_gunboat_1
		name_group = DEN_GB_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_cannon_battery_1
			fixed_ship_fire_control_system_slot = fire_control_system_0
			fixed_ship_engine_slot = ship_engine_paddle_gunboat
			fixed_ship_secondaries_slot = empty
			fixed_ship_armor_slot = ship_armor_capital_hardwood_0
			mid_1_custom_slot = empty
			mid_2_custom_slot = empty
			rear_1_custom_slot = empty
		}
		obsolete = yes
	}
	
	create_equipment_variant = {
		name = "Screw Gunboat Class"
		type = ship_hull_gunboat_1
		name_group = DEN_GB_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_cannon_battery_1
			fixed_ship_fire_control_system_slot = fire_control_system_0
			fixed_ship_engine_slot = ship_engine_steam_screw_gunboat
			fixed_ship_secondaries_slot = empty
			fixed_ship_armor_slot = ship_armor_capital_hardwood_0
			mid_1_custom_slot = empty
			mid_2_custom_slot = empty
			rear_1_custom_slot = empty
		}
		
	}

	create_equipment_variant = {
		name = "Frigate Class"
		type = ship_hull_frigate_0
		name_group = DEN_IC_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_cannon_battery_0
			fixed_ship_fire_control_system_slot = fire_control_system_0
			fixed_ship_engine_slot = ship_engine_sail_2
			fixed_ship_armor_slot = empty
			front_1_custom_slot = empty
			mid_1_custom_slot = ship_cannon_battery_0  
			mid_2_custom_slot = empty     
			rear_1_custom_slot = empty
		}
		obsolete = yes
	}

	create_equipment_variant = {
		name = "1850 Frigate Class"
		type = ship_hull_frigate_1
		name_group = DEN_IC_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_cannon_battery_1
			fixed_ship_fire_control_system_slot = fire_control_system_0
			fixed_ship_engine_slot = ship_engine_sail_2
			fixed_ship_armor_slot = ship_armor_capital_hardwood_0
			front_1_custom_slot = empty
			mid_1_custom_slot = ship_cannon_battery_1 
			mid_2_custom_slot = empty                  
			rear_1_custom_slot = empty
		}
		obsolete = yes
	}

	create_equipment_variant = {
		name = "Niels Juel Class"
		type = ship_hull_frigate_1
		name_group = DEN_IC_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_cannon_battery_1
			fixed_ship_fire_control_system_slot = fire_control_system_0
			fixed_ship_engine_slot = ship_engine_steam_screw_cruiser
			fixed_ship_armor_slot = ship_armor_capital_hardwood_0
			front_1_custom_slot = empty
			mid_1_custom_slot = ship_cannon_battery_1 
			mid_2_custom_slot = empty
			rear_1_custom_slot = empty
		}
		
	}

	create_equipment_variant = {
		name = "Ship of the Line Class"
		type = ship_hull_lineship_0
		name_group = DEN_IC_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_cannon_battery_0
			fixed_ship_fire_control_system_slot = fire_control_system_0
			fixed_ship_engine_slot = ship_engine_sail_2
			fixed_ship_armor_slot = empty
			front_1_custom_slot = ship_cannon_battery_0
			front_2_custom_slot = empty
			mid_1_custom_slot = ship_cannon_battery_0
			mid_2_custom_slot = ship_cannon_battery_0
			mid_3_custom_slot = empty
			rear_1_custom_slot = ship_cannon_battery_0
		}
		obsolete = yes
	}

	create_equipment_variant = {
		name = "Late Ship of the Line Class"
		type = ship_hull_lineship_1
		name_group = DEN_IC_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_cannon_battery_1
			fixed_ship_fire_control_system_slot = fire_control_system_0
			fixed_ship_engine_slot = ship_engine_sail_2
			fixed_ship_armor_slot = ship_armor_capital_hardwood_0
			front_1_custom_slot = ship_cannon_battery_0
			front_2_custom_slot = empty
			mid_1_custom_slot = ship_cannon_battery_1
			mid_2_custom_slot = empty
			mid_3_custom_slot = empty
			rear_1_custom_slot = ship_cannon_battery_1
		}
		
	}

#	create_equipment_variant = {
#		name = "Early Ironclad Class"
#		type = ship_hull_ironclad_0
#		name_group = DEN_IC_HISTORICAL
#		parent_version = 0
#		modules = {
#			fixed_ship_battery_slot = ship_cannon_battery_1
#			fixed_ship_fire_control_system_slot = fire_control_system_0
#			fixed_ship_engine_slot = ship_engine_paddle_capital
#			fixed_ship_armor_slot = ship_armor_capital_hardwood_1
#			mid_1_custom_slot = ship_cannon_battery_1
#			mid_2_custom_slot = ship_cannon_battery_1
#			front_1_custom_slot = ship_cannon_battery_1
#			rear_1_custom_slot = ship_cannon_battery_1
#		}
#	}
}